function Chat(key, hash) {
  this.key = key;
  this.hash = hash;
  this.messages = [];
  this.onlineList = [];
}

function Message(senderName, senderKey, timestamp, image, message) {
  this.senderName = senderName;
  this.senderKey = senderKey;
  this.timestamp = timestamp;
  this.image = image;
  this.message = message;
}

export { Chat, Message };
